
class HEAL: public SPELL
{
public:
	HEAL()
	{
		//DEFAULT VALUES
		/*
		Heals target for 25 health. Removes Poison.
		MC: 5, DMG: -25, PRICE: 200
		*/

		SetName("Heal");
		SetManaCost(5);
		SetMagnitude(25);
		SetPrice(200);
		SetSpellType(ST_HEAL);
	}

	HEAL(HEAL* spell)
	{
		//COPY
		SetName("Heal");
		SetManaCost(5);
		SetMagnitude(25);
		SetPrice(200);
		SetSpellType(ST_HEAL);

		//HEAL();
	}

	void Cast(ENTITY *elist,int ecount)
	{
		cout << "You cast heal on " << elist->GetName() << " and they regain " << GetMagnitude() << " health.\n";

		elist->AddHealth(GetMagnitude());
		
		if (elist->IsPoisoned())
		{
			cout << elist->GetName() << " is no longer poisoned.\n";
			elist->SetPoisoned(false);
		}
	}
};